package com.edu.neusoft.cookbook.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * 存储用户收藏食谱信息的表(UserFavorites)表实体类
 *
 * @author makejava
 * @since 2024-12-07 13:57:24
 */
@Data
public class UserFavorites extends Model<UserFavorites> {
    //用户的唯一标识符
    @TableId
    private Integer userId;
    //被收藏食谱的唯一标识符
    private Integer recipeId;


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRecipeId() {
        return recipeId;
    }

    public void setRecipeId(Integer recipeId) {
        this.recipeId = recipeId;
    }

}

